let Model = require("../model/goods_model")
class GoodsController {
    Add(data,callback) {
        let m = new Model()
        m.Add(data,callback)
    }

    Remove(data,callback) {
        let m = new Model()
        m.Del(data,callback)
    }

    Update(data,callback) {
        let m = new Model()
        m.Update(data,callback)
    }

    List(data,callback) {
        let m = new Model()
        m.List(data,callback)
    }

    Detail(data,callback) {
        let m = new Model()
        m.Detail(data,callback)
    }
}

module.exports = GoodsController